package org.docmanagement.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

public class TodoForm extends IdForm
{
	private static final long serialVersionUID = 1L;

	private String category = null;
	private String newCategory = null;
	private String text = null;
	private int status = -1;

	public TodoForm()
	{
		super();
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String pCategory) {
		this.category = pCategory;
	}

	public String getNewCategory() {
		return newCategory;
	}

	public void setNewCategory(String pNewCategory) {
		this.newCategory = pNewCategory;
	}

	public int getStatus() {
		return status;
	}


	public void setStatus(int status) {
		this.status = status;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {
		super.reset(mapping, request);
		category = null;
		text = null;
		status = -1;
	}
}
